<template>
    <div>
      <el-container>
        <el-header>
          <!-- 头部栏-->
            <MainHeader/>
        </el-header>
        <el-main>
          <!-- 下主界面-->
          <Mainmain/>
        </el-main>
        <el-footer>Footer</el-footer>
      </el-container>
    </div>
</template>

<script>
  import MainHeader from '@/components/MainHeader';
  import Mainmain from '@/components/Mainmain';
    export default {
        name: "Main",
        components:{
          MainHeader,
          Mainmain
        },

    }
</script>

<style scoped>
  .el-header, .el-footer {
    background-color: #D3D3D3;
    color: #333;
    text-align: center;
    line-height: 60px;
  }
  .el-main {
    background-color: #FFFFFF;
    color: #333;
    text-align: center;
    line-height: 16px;
  }
</style>
